package org.btik.light.server.platform.common.api.bean.sensitive.annotation;

import java.lang.annotation.*;

/**
 * @author lustre
 * @since 2023/6/15 20:06
 */
@Target({ElementType.TYPE, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SensitiveParams{

    String value() default "";

    /**
     * 是否使用用户会话缓存公私钥对
     */
    boolean userSession() default true;

    StringEncoding encoding() default StringEncoding.HEX_STRING;
}
